package com.dingreading.cloud.soms.dto.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

@Data
@HeadRowHeight(25)
@ContentRowHeight(25)
@ColumnWidth(17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 13)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER, wrapped = BooleanEnum.TRUE)
public class LessonVoV3 {

    @ExcelIgnore
    private String teacherUid;

    @ExcelProperty(value = "主讲导读")
    private String teacherName;

    @ContentFontStyle(fontHeightInPoints = 14, color = 52)
    @ExcelProperty(value = "总计费")
    private Double amount;

    @ContentFontStyle(fontHeightInPoints = 14)
    @ExcelProperty(value = "活动次数")
    private Integer lessonCnt;

    @ColumnWidth(20)
    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ColumnWidth(23)
    @ExcelProperty(value = "活动日期")
    private String teachDate;

    @ColumnWidth(10)
    @ExcelProperty(value = "星期")
    private String weekName;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ExcelProperty(value = "社团名称")
    private String className;

    @ExcelProperty(value = "服务项目名称")
    private String productName;

    @ExcelProperty(value = "服务阶段名称")
    private String stageName;

    @ExcelProperty(value = "活动室名称")
    private String roomName;

    @ContentFontStyle(fontHeightInPoints = 14)
    @ExcelProperty(value = "会员总数量")
    private Integer studentNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "会员未到数量")
    private Integer notReachNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = "会员到达数量")
    private Integer reachNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = "消耗-正价")
    private Integer payNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 52)
    @ExcelProperty(value = "正价计费")
    private Double payAmount;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ExcelProperty(value = "正价会员")
    private String payMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = "消耗-赠送")
    private Integer giftNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 52)
    @ExcelProperty(value = "赠送计费")
    private Double giftAmount;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ExcelProperty(value = "赠送会员")
    private String giftMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 17)
    @ExcelProperty(value = "消耗-体验")
    private Integer expNum;

    @ContentFontStyle(fontHeightInPoints = 14, color = 52)
    @ExcelProperty(value = "体验计费")
    private Double expAmount;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ExcelProperty(value = "体验会员")
    private String expMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "消耗-试听")
    private Integer auditionNum;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "试听会员")
    private String auditionMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "免费")
    private Integer freeNum;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "免费会员")
    private String freeMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "课时未扣")
    private Integer noHourNum;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "课时未扣会员")
    private String noHourMember;

    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "未到")
    private Integer noReachNum;

    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
    @ContentFontStyle(fontHeightInPoints = 14, color = 10)
    @ExcelProperty(value = "未到会员")
    private String noReachMember;

    @ExcelProperty(value = "完成人姓名")
    private String closeStaffName;

    @ColumnWidth(20)
    @ExcelProperty(value = "完成时间")
    private String closeTime;
}
